package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 轮胎维修耗材临时表
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@TableName("erp_sale_repair_supplies_temporary")
public class ErpSaleRepairSuppliesTemporary extends Model<ErpSaleRepairSuppliesTemporary> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 维修单id
     */
    @TableField("sale_repair_repair_id")
    private Integer saleRepairRepairId;
    /**
     * 物料 名称
     */
    @TableField("materiel_name")
    private String materielName;
    /**
     * 物料 品牌
     */
    @TableField("materiel_brand")
    private String materielBrand;
    /**
     * 物料 规格
     */
    @TableField("materiel_Specifications")
    private String materielSpecifications;
    /**
     * 物料 型号
     */
    @TableField("materiel_model")
    private String materielModel;
    /**
     * 物料 数量
     */
    @TableField("materiel_number")
    private String materielNumber;
    @TableField("materiel_total_tax")
    private Double materielTotalTax;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSaleRepairRepairId() {
        return saleRepairRepairId;
    }

    public void setSaleRepairRepairId(Integer saleRepairRepairId) {
        this.saleRepairRepairId = saleRepairRepairId;
    }

    public String getMaterielName() {
        return materielName;
    }

    public void setMaterielName(String materielName) {
        this.materielName = materielName;
    }

    public String getMaterielBrand() {
        return materielBrand;
    }

    public void setMaterielBrand(String materielBrand) {
        this.materielBrand = materielBrand;
    }

    public String getMaterielSpecifications() {
        return materielSpecifications;
    }

    public void setMaterielSpecifications(String materielSpecifications) {
        this.materielSpecifications = materielSpecifications;
    }

    public String getMaterielModel() {
        return materielModel;
    }

    public void setMaterielModel(String materielModel) {
        this.materielModel = materielModel;
    }

    public String getMaterielNumber() {
        return materielNumber;
    }

    public void setMaterielNumber(String materielNumber) {
        this.materielNumber = materielNumber;
    }

    public Double getMaterielTotalTax() {
        return materielTotalTax;
    }

    public void setMaterielTotalTax(Double materielTotalTax) {
        this.materielTotalTax = materielTotalTax;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpSaleRepairSuppliesTemporary{" +
        ", id=" + id +
        ", saleRepairRepairId=" + saleRepairRepairId +
        ", materielName=" + materielName +
        ", materielBrand=" + materielBrand +
        ", materielSpecifications=" + materielSpecifications +
        ", materielModel=" + materielModel +
        ", materielNumber=" + materielNumber +
        ", materielTotalTax=" + materielTotalTax +
        "}";
    }
}
